/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package za.co.pas.spaceandtime.message;

import java.util.List;
import za.co.pas.business.message.MessageObj;
import za.co.pas.spaceandtime.data.Building;
/**
 *
 * @author alabuschagne
 */
public class RequestBuildingListChanged  extends MessageObj
{
    public RequestBuildingListChanged()
    {
        super(MsgConstant.REQUEST_BUILDING_LIST_CHANGED);
    }

    public RequestBuildingListChanged(List<Building> newCompanies)
    {
        super(MsgConstant.REQUEST_BUILDING_LIST_CHANGED);
        setNewValue(newCompanies);
    }

    public RequestBuildingListChanged(List<Building>  currentCompanies, List<Building>  newCompanies)
    {
        super(MsgConstant.REQUEST_BUILDING_LIST_CHANGED);
        setOldValue(currentCompanies);
        setNewValue(newCompanies);
    }

}
